$OpenBSD: patch-src-make_rules,v 1.8 2010/12/01 08:13:19 jasper Exp $
--- src/make_rules.orig	Tue Nov 30 23:44:32 2010
+++ src/make_rules	Tue Nov 30 23:47:52 2010
@@ -17,6 +17,7 @@ SHELL=/bin/sh
 CC ?= gcc
 
 CFLAGS ?= -O3 -Wall -ansi
+override CFLAGS += `pkg-config --cflags gdk-pixbuf-2.0` -pthread
 #override CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED \
 #	-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
 #	-DGSEAL_ENABLE \
@@ -37,7 +38,7 @@ EXE = gamgi
 LIBS = -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lgtk-x11-2.0 \
 	-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 \
 	-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 \
-	-lXext -lX11 -lXi -lXmu -lfreetype -lexpat -lm -ldl
+	-lXext -lX11 -lXi -lXmu -lfreetype -lexpat -lm -pthread
 
 #================================ full paths ===============================
 
